@import 'tailwindcss';

::selection {
  background-color: rgba(37, 129, 215, 0.15);
}

:root {
  --header-height: 64px; /* 顶栏高度 */
  --sider-width: 256px; /* 侧边栏宽度 */

  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
}

/**
 * 覆盖 antd 样式
 */
.ant-table-container .ant-table-tbody .ant-table-cell {
  padding-inline: 8px !important;
}

[data-slot='theme-switch'].ant-switch .ant-switch-handle {
  background-color: #1890ff;
  display: none;
}
